package com.xzx.refactoring;

/**
 * @author xinzhixuan
 * @version V1.0
 * @date 2017/8/28 0:20
 */
public abstract class Price {
    abstract int getPriceCode();

    abstract double getCharge(int daysRented);

    int getFrequentRentalPoints(int daysRented) {
        return 1;
    }
}
